From: DaPigGuy Date: Fri, 20 Mar 2026 01:48:13 +0000 (-0700) Subject: shell: Fix overcounting of misc. symbols for password strength X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~10^2^2~89 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b8dbf86a472a79579d28e48360184323ba66ca7a;p=gnome-shell.git shell: Fix overcounting of misc. symbols for password strength There was previously a branch for lowercase symbols that was removed. Lowercase symbols should not count as miscellaneous symbols, which increase the password strength. Fixes ecb7dcc5d67c33d2d5155ecfc32fc36a7e4cfa08 Part-of: --- diff --git a/src/shell-keyring-prompt.c b/src/shell-keyring-prompt.c index 821505bc4..28c23d7ad 100644 --- a/src/shell-keyring-prompt.c +++ b/src/shell-keyring-prompt.c @@ -628,7 +628,7 @@ calculate_password_strength (const gchar *password) digit++; else if (g_ascii_isupper (password[i])) upper++; - else + else if (!g_ascii_islower (password[i])) misc++; }